<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of MappingUtil
 *
 * @author laci
 */
require 'dbconn.php';

/**
 * Vissza adja a menu kulcshoz tartozó php fájlt
 *
 * @param <type> $key
 * @return <type>
 */
function getValue($key) {
	$array = mysql_fetch_array(mysql_query("SELECT value FROM mapping WHERE mapping.key = '".$key."'"));
	return $array[0];
}
?>
